Duplicator\Libs\Snap\SnapIO D

Total Complexity 315
Dependencies 6
Dependents 52
Total lines 1,761
Lines of code 933
Logical lines of code 592
Comment lines 590
Methods 56
Properties 0

Methods 56

Method Rating Maintainability Complexity Lines of code
chmod()
C
35 27 81
regexGlobCallbackPrivate()
B
42 20 48
copyFilePart()
A
45 15 41
appendFileToFile()
A
44 14 42
mkdirP()
A
46 12 36
regexGlobCallback()
A
49 10 31
rcopy()
A
51 10 28
emptyDir()
A
50 10 27
getLastLinesOfFile()
A
47 9 36
serveFileForDownload()
A
48 8 33
getCommonPath()
A
50 8 29
rrmdir()
A
53 8 24
fopen()
A
53 8 23
sortBySubfoldersCount()
A
54 8 21
isChildPath()
A
55 8 19
rename()
A
57 8 17
filePutContents()
S
54 7 19
fseek()
S
55 7 17
dirAddFullPermsAndCheckResult()
S
61 7 12
tailFile()
S
51 6 25
unlink()
S
58 6 16
getInclude()
S
56 5 19
fwriteChunked()
S
56 5 17
mkdir()
S
59 5 14
permsToString()
S
62 5 11
normalizePath()
S
57 4 16
dirWriteCheckOrMkdir()
S
63 5 9
getRelativePath()
S
58 4 14
rmdir()
S
63 4 10
fileAddFullPermsAndCheckResult()
S
65 4 9
getOpenBaseDirRootOfPath()
S
64 4 9
rm()
S
63 4 10
createSilenceIndex()
S
60 3 14
diskTotalSpace()
S
65 3 9
safePath()
S
64 3 10
safePathUntrailingslashit()
S
64 3 10
touch()
S
65 3 9
diskFreeSpace()
S
65 3 9
fclose()
S
72 3 5
copy()
S
65 3 10
fwrite()
S
66 2 8
getOpenBaseDirPaths()
S
70 2 6
ftell()
S
67 2 8
getRelativeDirname()
S
70 2 6
flock()
S
72 2 5
getMaxAllowedRootOfPath()
S
64 2 9
isStream()
S
66 2 8
fgets()
S
68 2 7
filesize()
S
68 2 7
filemtime()
S
68 2 7
trailingslashit()
S
78 1 3
removeRootPath()
S
78 1 3
isOpenBaseDirEnabled()
S
75 1 4
regexGlob()
S
69 1 7
safePathTrailingslashit()
S
78 1 3
untrailingslashit()
S
79 1 3